package com.hdax.dmw.scheduler.mapstruct;

import com.hdax.dmw.dtos.scheduler.TimePlanDto;
import com.hdax.dmw.entity.scheduler.DmScheduler;
import org.mapstruct.Mapper;

import java.util.List;

@Mapper(componentModel = "spring")
public abstract class TimePlanDtoMapper {

    public abstract TimePlanDto toTarget(DmScheduler source);
    public abstract List<TimePlanDto> toTargetList(List<DmScheduler> sources);
}
